@model CaipuGuanliXitong.Models.RecipeIngredient

@{
    ViewData["Title"] = "删除带量食材";
}

<h2>删除带量食材</h2>

<h3>确定要删除这个带量食材吗？</h3>
<div>
    <h4>带量食材信息</h4>
    <hr />
    <dl class="dl-horizontal">
        <dt>
            @Html.DisplayNameFor(model => model.CookBookName)
        </dt>
        <dd>
            @Html.DisplayFor(model => model.CookBookName)
        </dd>
        <dt>
            @Html.DisplayNameFor(model => model.IngredientName)
        </dt>
        <dd>
            @Html.DisplayFor(model => model.IngredientName)
        </dd>
        <dt>
            @Html.DisplayNameFor(model => model.Quantity)
        </dt>
        <dd>
            @Html.DisplayFor(model => model.Quantity)
        </dd>
        <dt>
            @Html.DisplayNameFor(model => model.Price)
        </dt>
        <dd>
            @Html.DisplayFor(model => model.Price)
        </dd>
        <dt>
            @Html.DisplayNameFor(model => model.CreatedTime)
        </dt>
        <dd>
            @Html.DisplayFor(model => model.CreatedTime)
        </dd>
        <dt>
            @Html.DisplayNameFor(model => model.UpdatedTime)
        </dt>
        <dd>
            @Html.DisplayFor(model => model.UpdatedTime)
        </dd>
    </dl>
    
    <form asp-action="Delete">
        <input type="hidden" asp-for="Id" />
        <input type="submit" value="删除" class="btn btn-danger" />
        <a asp-action="Index" class="btn btn-default">返回列表</a>
    </form>
</div>